package com.bsoft.exchange.dao.his;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bsoft.exchange.domain.RegisterDomain;

@Mapper
public interface RegisterMapper {
	
	public RegisterDomain getRegisterById(@Param("jgid") Long jgid,@Param("sbxh") Long sbxh);
	
	public RegisterDomain getRegisterByYyxh(@Param("jgid") Long jgid,@Param("yyxh") Long sbxh);
	
	public void insertRegister(RegisterDomain register);
	
	public Integer checkFirstVisit(@Param("jgid") Long jgid,@Param("brid") Long brid);
	
	public RegisterDomain getRegisterByJzxh(@Param("jgid") Long jgid,@Param("jzxh") Long jzxh);
}